package org.jeecg.modules.relation.relcourseplanapp.mapper;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.relation.relcourschetempapp.entity.RelCourScheTempApp;
import org.jeecg.modules.relation.relcourseplanapp.entity.RelCoursePlanApp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: rel_course_plan_app
 * @author: baochangrong
 * @Date:   2022-02-17
 * @Version: V1.0
 */
public interface RelCoursePlanAppMapper extends BaseMapper<RelCoursePlanApp> {
    List<RelCoursePlanApp> queryAll(Page<RelCoursePlanApp> page, @Param("relCoursePlanApp") RelCoursePlanApp relCoursePlanApp);

    int insertUpgradeRelCoursePlanApp(@Param("relCoursePlanApp") RelCoursePlanApp relCoursePlanApp);

    String queryObjectNameByObjectId(@Param("type") Integer type, @Param("objectId") String objectId);

}
